/*
 * License:
 * 
 */

package co.springtree.spectrum.visa.api;

import java.util.StringTokenizer;

/**
 *
 * @author gunter.fuchs
 * @date   Feb 13, 2013
 */
public class VisaReturn {
  private long returnLong;
  protected String returnString;
  protected byte[] returnBytes;

  /**
   * @return a long value
   */
  public long getLong() {
    return returnLong;
  }

  /**
   * @param longValue the returnLong to set
   */
  public void setLong(long longValue) {
    this.returnLong = longValue;
  }

  /**
   * @return the returnString
   */
  public String getReturnString() {
//    StringTokenizer st = new StringTokenizer(returnString, "\n");
    return returnString.trim();
  }

  /**
   * @return the returnBytes
   */
  public byte[] getReturnBytes() {
    return returnBytes;
  }

  /**
   * @param returnBytes the returnBytes to set
   */
  public void setReturnBytes(byte[] returnBytes) {
    this.returnBytes = returnBytes;
  }
}
